package com.kaifamiao.hide;

public class Test {

    public static void main(String[] args) {

        Animal a = new Beast();
        System.out.println( a.name );

        Beast b = (Beast) a;
        System.out.println( b.name );

        b.show();

    }

}
